
package com.idealighter.game.games.fqzs.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;

import java.util.List;

import lombok.Data;

/**
 * 游戏阶段消息 .
 *
 */
@ResMsg(ModuleMsgIdConstant.Fqzs.RES_GAME_STAGE)
@Data
public class ResGameStageMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.Fqzs.RES_GAME_STAGE;
  // 中奖图标
  @Protobuf(order = 2)
  private int iconIndex;
  // 第一次中奖游戏时间
  @Protobuf(order = 3)
  private int time;
  // 玩家的收益
  @Protobuf(order = 4)
  private long playerBillChips;
  // 庄家收益
  @Protobuf(order = 5)
  private long bankerBillChips;
  @Protobuf(order = 6)
  private List<TopRewardItemDto> topRewards;

  @Data
  public static class TopRewardItemDto {
    @Protobuf(order = 1)
    private Long playerId;
    @Protobuf(order = 2)
    private String nickName;
    @Protobuf(order = 3)
    private Long chips;
  }
}
